<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <script src="__STATIC__/js/base.js"></script>
    <title>首页</title>
    <link rel="stylesheet" href="__STATIC__/css/swiper.min.css">
    <link rel="stylesheet" href="__STATIC__/css/base.css">
    <link rel="stylesheet" href="__STATIC__/css/index.css">
    <script src="__STATIC__/js/jquery-1.11.1.min.js"></script>
    <script src="__STATIC__/js/swiper.min.js"></script>
    <!--<script src="js/index.js"></script>-->
</head>
<body>
<section class="wrap">
    <!--banner图开始-->
    <div class="banner">
        <div class="swiper-container">
            <div class="swiper-wrapper">
                {if empty($ad)}
                <div class="swiper-slide"><a href="#"><img src="__STATIC__/images/1.jpg" alt=""></a></div>
                <div class="swiper-slide"><a href="#"><img src="__STATIC__/images/2.jpg" alt=""></a></div>
                <div class="swiper-slide"><a href="#"><img src="__STATIC__/images/3.jpg" alt=""></a></div>
                {else}
                {volist name="ad" id="ad"}
                {if $ad.isStart==0}
                {if $ad.advertType==0}
                <div class="swiper-slide"><a href="{$ad.url}" target="_blank"><img src="{$ad.thumbFile}" alt=""></a></div>
                {else}
                <div class="swiper-slide"><a href="/goodsDetail?serviceId={$ad.serviceId}"><img src="{$ad.thumbFile}" alt=""></a></div>
                {/if}
                {else}
                <div class="swiper-slide"><a href="javascript:;"><img src="{$ad.thumbFile}" alt=""></a></div>
                {/if}
                {/volist}

                {/if}
            </div>
            <!-- Add Pagination -->
            <div class="swiper-pagination" style="font-size: 0;"></div>

        </div>
        <script>
            var swiper = new Swiper('.banner .swiper-container', {
                pagination: '.swiper-pagination',
                paginationClickable: true,
//            spaceBetween: 30,
                centeredSlides: true,
                autoplay: 2500,
                loop: true,
                autoplayDisableOnInteraction: false
            });
        </script>
    </div>
    <!--banner图结束-->
    <div class="bar_20"></div>
    <!--条目导航开始-->
    <nav class="entry-nav clearfix">
        <a href="/guquanIndex.html" class="entry-link">
            <img src="__STATIC__/images/appcenter1.png" alt="">
            <span>买卖执照</span>
        </a>
        <a href="/registeredAddressIndex.html" class="entry-link">
            <img src="__STATIC__/images/appecenter2.png" alt="">
            <span>注册地址</span>
        </a>
        <a href="/makerSpaceIndex.html" class="entry-link">
            <img src="__STATIC__/images/appecenter3.png" alt="">
            <span>众创空间</span>
        </a>
        <a href="" class="entry-link service-cate" id="工商注册">
            <img src="__STATIC__/images/appecenter4.png" alt="">
            <span>工商注册</span>
        </a>
        <a href="" class="entry-link service-cate" id="知识产权">
            <img src="__STATIC__/images/appecenter5.png" alt="">
            <span>知识产权</span>
        </a>
        <a href="" class="entry-link service-cate" id="财务会计">
            <img src="__STATIC__/images/appecenter6.png" alt="">
            <span>财务会计</span>
        </a>
        <a href="" class="entry-link service-cate" id="人事社保">
            <img src="__STATIC__/images/appecenter7.png" alt="">
            <span>人事社保</span>
        </a>
        <a href="" class="entry-link service-cate" id="资质审批">
            <img src="__STATIC__/images/appecenter8.png" alt="">
            <span>资质审批</span>
        </a>
        <a href="" class="entry-link service-cate" id="法律服务">
            <img src="__STATIC__/images/appecenter9.png" alt="">
            <span>法律服务</span>
        </a>
        <a href="category.html" class="entry-link " >
            <img src="__STATIC__/images/appecenter10.png" alt="">
            <span>更多服务</span>
        </a>
    </nav>
    <script>
        $(function(){
            $('.service-cate').on('click',function(){
                 var id =$(this).attr('id');
                $(this).attr('href','/category.html?cate='+id)
            });
        });
    </script>
    <!--条目导航结束-->
    <div class="bar_20"></div>
    <!--优惠服务开始-->
    <div class="service">
        <div class="pub-title">
            <h2>优惠服务</h2>
            <!--<div class="more">查看更多 >></div>-->
        </div>
        <div class="service-slider">
            <div class="swiper-container" style="padding-bottom: 1.024rem;">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        {volist name="di" id="v"}
                        <a href="/goodsDetail?serviceId={$v.serviceId}" class="item"><span class="mess"><p>{$v.serviceName}</p><span>限时低价{$v.activePrice}元</span></span><img height="67.68px" src="{$v.thumbFile}" alt=""></a>
                        {/volist}
                    </div>
                    <!--<div class="swiper-slide">-->
                        <!--<a href="/goodsDetail.html" class="item"><span class="mess"><p>申请一般纳税人</p><span>限时低价100元限时低价100元</span></span><img src="__STATIC__/images/banner2.png" alt=""></a>-->
                        <!--<a href="/goodsDetail.html" class="item"><span class="mess"><p>申请一般纳税人</p><span>限时低价100元</span></span><img src="__STATIC__/images/banner2.png" alt=""></a>-->
                        <!--<a href="/goodsDetail.html" class="item"><span class="mess"><p>申请一般纳税人</p><span>限时低价100元</span></span><img src="__STATIC__/images/banner2.png" alt=""></a>-->
                    <!--</div>-->
                    <!--<div class="swiper-slide">-->
                        <!--<a href="/goodsDetail.html" class="item"><span class="mess"><p>申请一般纳税人</p><span>限时低价100元限时低价100元</span></span><img src="__STATIC__/images/banner3.png" alt=""></a>-->
                        <!--<a href="/goodsDetail.html" class="item"><span class="mess"><p>申请一般纳税人</p><span>限时低价100元</span></span><img src="__STATIC__/images/banner3.png" alt=""></a>-->
                        <!--<a href="/goodsDetail.html" class="item"><span class="mess"><p>申请一般纳税人</p><span>限时低价100元</span></span><img src="__STATIC__/images/banner3.png" alt=""></a>-->
                    <!--</div>-->
                </div>
                <!-- Add Pagination -->
                <div class="swiper-pagination" style="font-size: 0; bottom: 0.42666667rem;"></div>

            </div>
            <script>
                var swiper = new Swiper('.service-slider .swiper-container', {
                    pagination: '.swiper-pagination',
                    paginationClickable: true,
                    centeredSlides: true,
                    autoplay: 2500,
                    loop: true,
                    autoplayDisableOnInteraction: false
                });
            </script>
        </div>
    </div>
    <!--优惠服务结束-->
    <div class="bar_20"></div>

    <!--买卖执照开始-->
    <div class="license-wrap">
        <div class="pub-title">
            <h2>买卖执照</h2>
            <a href="/guquanIndex.html" class="more">查看更多 >></a>
        </div>
        <div class="license clearfix">
            {volist name="licenses" id="v"}
            <a href="/guquanDetail?projectId={$v.projectId}"><span class="mess" style=" margin-top: 1.6rem; text-align: center;"><p>{$v.projectName}</p><span>限时低价{$v.price}元</span></span></a>
            {/volist}
        </div>
    </div>

    <!--买卖执照结束-->
    <div class="bar_20"></div>

    <!--注册地址开始-->
    <div class="registered-address-wrap">
        <div class="pub-title">
            <h2>注册地址</h2>
            <a href="/registeredAddressIndex.html" class="more">查看更多 >></a>
        </div>
        <div class="registered-address clearfix">
            {volist name="registered" id="v"}
            <a href="/registeredAddressDetail?projectId={$v.projectId}">
                <img src="{$v.thumbFile}" alt="">
                <span class="mess">
                    <span class="fl">{$v.projectName}</span>
                    <span class="fr">{$v.price}元</span>
                </span>
            </a>
            {/volist}
        </div>
    </div>

    <!--注册地址结束-->
    <div class="bar_20"></div>

    <!--众创空间开始-->
    <div class="registered-address-wrap">
        <div class="pub-title">
            <h2>众创空间</h2>
            <a href="/makerSpaceIndex.html" class="more">查看更多 >></a>
        </div>
        <div class="registered-address clearfix">
            {volist name="weWork" id="v"}
            <a href="/makerSpaceDetail?projectId={$v.projectId}">
                <img src="{$v.thumbFile}" alt="">
                <span class="mess">
                    <span class="fl">{$v.projectName}</span>
                    <span class="fr">{$v.price}元</span>
                </span>
            </a>
            {/volist}
        </div>
    </div>
    <!--众创空间结束-->
    <div class="bar_20"></div>
    <!--公司  客服电话-->
    <div style=" height: 4.157333358rem; text-align: center; margin-top: 0.5rem;">
        <span style="font-size: 0.58266667rem;">企业宝</span><br>

        <span style="color: #999">客服电话：<?php echo getServiceTel();?></span><br>
        <span style="color: #999">丰台区西三环南路首科大厦A座1113室
        </span><br>
        <span style="color: #999">
            Copyright 2014-2044 卓富资本管理(北京)有限公司 版权所有<br> 京ICP备15059398号-4
        </span>
    </div>
    <!--众创空间结束-->
    <div class="bar_20" style="height: 3.157333358rem;"></div>
    <!--底部导航开始-->
    <div class="floor-nav">
        <a href="#">
            <img src="__STATIC__/images/home.png" alt="" id="shouye">
            <span >首页</span>
        </a>
        <a href="/category.html">
            <img src="__STATIC__/images/catergry.png" alt="" id="cate">
            <span>分类</span>
        </a>
        <a href="/lists.html">
            <img src="__STATIC__/images/order.png" alt="" id="order">
            <span>订单</span>
        </a>
        <a href="/info.html">
            <img src="__STATIC__/images/me.png" alt="" id="my">
            <span>我的</span>
        </a>
    </div>
    <!--底部导航结束-->
    <script>
        $(function(){
            var url=window.location.href;
            //从订单确认面过来的则是选择收货地址，跳回订单确认页面
            var  index=new RegExp('index.html');
            var  order = new RegExp('list.html');
            var  my = new RegExp('info.html');
            var  cate = new RegExp('category.html');
            if(index.test(url)){
                $('#shouye').attr('src','__STATIC__/images/home1.png');
                $('#shouye').parent().children('span').addClass('col-blue');
            };
            if(order.test(url)){
                $('#order').attr('src','__STATIC__/images/order1.png');
                $('#order').parent().children('span').addClass('col-blue');
            };
            if(cate.test(url)){
                $('#cate').attr('src','__STATIC__/images/catergry1.png');
                $('#cate').parent().children('span').addClass('col-blue');
            };
            if(my.test(url)){
                $('#my').attr('src','__STATIC__/images/me1.png');
                $('#my').parent().children('span').addClass('col-blue');
            };
        });


    </script>
</section>
</body>
</html>